home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / maths / mathsdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.8 KB  |  66 lines

  1. // Mathsdg.h : header file
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1999 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // Definitions for CMathsCtl Event DISPIDs (used in the EVENTSINK map)
  16.  
  17. #define DISPID_CLICKOUT    1L
  18. #define DISPID_CLICKIN    2L
  19.  
  20.  
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CMathsDlg dialog
  23. //{{AFX_INCLUDES()
  24. #include "mathsctl.h"
  25. //}}AFX_INCLUDES
  26.  
  27. class CMathsDlg : public CDialog
  28. {
  29. // Construction
  30. public:
  31.     CMathsDlg(CWnd* pParent = NULL);    // standard constructor
  32.  
  33. // Dialog Data
  34.     //{{AFX_DATA(CMathsDlg)
  35.     enum { IDD = IDD_MATHS_DIALOG };
  36.     CButton    m_ctlOpposite;
  37.     CMathsCtl    m_ctlMaths;
  38.     //}}AFX_DATA
  39.  
  40.     // ClassWizard generated virtual function overrides
  41.     //{{AFX_VIRTUAL(CMathsDlg)
  42.     protected:
  43.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  44.     //}}AFX_VIRTUAL
  45.  
  46. // Implementation
  47. protected:
  48.     HICON m_hIcon;
  49.  
  50.     // Generated message map functions
  51.     //{{AFX_MSG(CMathsDlg)
  52.     virtual BOOL OnInitDialog();
  53.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  54.     afx_msg void OnPaint();
  55.     afx_msg HCURSOR OnQueryDragIcon();
  56.     afx_msg void OnLButtonDblClk(UINT, CPoint);
  57.     afx_msg void OnOpposite();
  58.     //}}AFX_MSG
  59.     DECLARE_MESSAGE_MAP()
  60.  
  61.     // Event Handler functions
  62.     afx_msg BOOL OnClickIn(OLE_XPOS_PIXELS x, OLE_YPOS_PIXELS y);
  63.     afx_msg BOOL OnClickOut();
  64.     DECLARE_EVENTSINK_MAP()
  65. };
  66.